#include <REGX52.H>

void Delay1ms(unsigned int ms)		//@12.000MHz
{
	while(ms--)
	{
	unsigned char i, j;

	i = 2;
	j = 239;
	do
	{
		while (--j);
	} while (--i);
	}
}
